package com.utooo.bid.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Configuration
@ConfigurationProperties(prefix = "ai")
@Data
public class ModelConfig {
    private OpenAiConfig openai;
    private DeepSeekConfig deepseek;
    private GLMConfig glm;
    private SiliconFlowConfig siliconflow;
    private Long timeout;

    @Data
    public static class OpenAiConfig {
        private String apiKey;
        private String model;
        private String baseUrl;
    }

    @Data
    public static class DeepSeekConfig {
        private String apiKey;
        private String model;
        private String baseUrl;
    }

    @Data
    public static class GLMConfig {
        private String apiKey;
        private String model;
        private String baseUrl;
    }

    @Data
    public static class SiliconFlowConfig {
        private String apiKey;
        private String baseUrl;
        private String model;
    }
}
